# 读取yaml文件数据

import yaml


def loadyaml(filename):
    files = open(filename, 'r', encoding='utf-8')
    # 读取
    data = yaml.load(files, Loader=yaml.FullLoader)
    return data


# 调试
# a = loadyaml('../testData/user.yaml')
# print(a)
